<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.prime.com.tr/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:nfsc="http://novelfaces.be/showcase/jsf/comp"
	xmlns:cc="http://java.sun.com/jsf/composite">
<cc:interface>
	<cc:attribute name="header" required="true" />
	<cc:attribute name="src" required="true" />
	<cc:attribute name="sourceType" required="false" />
</cc:interface>
<!-- Implementation that specifies the actual markup-->
<cc:implementation>
	<p:panel id="panel" collapsed="true" toggleable="true" header="#{cc.attrs.header}" 
		toggleSpeed="200">
		<nfsc:syntaxHighlighter sourceType="#{empty cc.attrs.sourceType ? 'xhtml' : cc.attrs.sourceType}" 
			src="#{cc.attrs.src}" />
	</p:panel>
</cc:implementation>
</html>